package org.example.dto;

import lombok.Data;

@Data
public class Food {

    private String name;
    private FoodDetails details;

    public Food() {
    }

    public Food(String name,String color,String uses) {
        this.name = name;
        details=new FoodDetails(color,uses);
    }
}
